package com.atguigu.classes.OOPone;

/**
 * @program: IDEAcode
 * @description: 方法调用打印矩形
 * @author: Mr.zjx
 * create: 2021-07-06-23-27
 **/
public class Test {
    public static void main(String[] args) {
        printRectangle(10,15);
    }
    public static void printRectangle(int row,int column){
        for (int i = 0; i < row;i++){
            for (int j = 0; j < column;j++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
